package com.example.administrator.myjdlc.common;

/**
 * HTTP  常量
 * @author shengzg
 *
 */
public class Const {
	
	/**
	 * 公共参数常量
	 * @author shengzg
	 *
	 */
	public class ParametersConst{
		
		//========================测试环境
		/**
		 * App标识
		 */
//		public static final String APP_KEY="20151117142715";
		
		/**
		 * AppApplication Secret
		 */
//		public static final  String APP_SECRET="afff9708359346c6a04df04d800ff8e1";
		
		
		/**
		 * 资源
		 */
//		public static final String SOURCE="baidu";
		
		//=========================正式环境===============================
		
		//=========================应用宝=================================
		/**
		 * App标识
		 */
		public static final String APP_KEY = "20160415105588";
		
		/**
		 *AppApplication Secret
		 */
		public static final  String APP_SECRET = "7098a0048dbe4b769d5e467e7feb02b3"; 
		
		
		/**
		 * 资源
		 */
		public static final String SOURCE="2_201605032030";
		
		
		
		//=========================360=================================360
		/**
		 * App标识
		 */
		//public static final String APP_KEY = "20160505100955";
		
		/**
		 *AppApplication Secret
		 */
		//public static final  String APP_SECRET = "41e7e237d8fb429685f0fc15d6461eb6"; 
		
		
		/**
		 * 资源
		 */
		//public static final String SOURCE="2_201605051009";
		
		
		//=========================百度=================================baidu
		/**
		 * App标识
		 */
		//public static final String APP_KEY = "20160505101155";
		
		/**
		 *AppApplication Secret
		 */
		//public static final  String APP_SECRET = "66b35bb12fb0498a885970d0bb71691d"; 
		
		
		/**
		 * 资源
		 */
		//public static final String SOURCE="2_201605051011";

		
		//=========================豌豆荚=================================wandoujia
		/**
		 * App标识
		 */
		//public static final String APP_KEY = "20160505101238";
		
		/**
		 *AppApplication Secret
		 */
		//public static final  String APP_SECRET = "3cc11bd71b254843887dee2322bff9c9"; 
		
		
		/**
		 * 资源
		 */
		//public static final String SOURCE="2_201605051012";
		
		
		//=========================机锋市场=================================jifengshichang
		/**
		 * App标识
		 */
		//public static final String APP_KEY = "20160505101421";
		
		/**
		 *AppApplication Secret
		 */
		//public static final  String APP_SECRET = "ae8d2fbb68094149ad9694a978e9e716"; 
		
		
		/**
		 * 资源
		 */
		//public static final String SOURCE="2_201605051014";
		
		
		//=========================华为=================================huawei
		/**
		 * App标识
		 */
		//public static final String APP_KEY = "20160701092441";
		
		/**
		 *AppApplication Secret
		 */
		//public static final  String APP_SECRET = "82ea37a493174294990982515d7e8643"; 
		
		
		/**
		 * 资源
		 */
	 //public static final String SOURCE="2_201607010924";
		
		
		//=========================VIWO=================================viwo
		/**
		 * App标识
		 */
		//public static final String APP_KEY = "20160701091043";
		
		/**
		 *AppApplication Secret
		 */
		//public static final  String APP_SECRET = "7a40de89a62c499583f5e1666ab56a50"; 
		
		
		/**
		 * 资源
		 */
		//public static final String SOURCE="2_201607010910";

	}
	
	/**
	 * HTML地址
	 */
	public class HtmlUrl{
		/**
		 * 风险测评
		 */
		public static final String RISK_TEST = HttpConst.HTTP_DEFAULT+"/files/business/test_android.html";
		
		/**
		 * 网上交易委托协议
		 */
		public static final String TRUST_AGREEMENT = HttpConst.HTTP_DEFAULT+"/files/business/doc/wsjywtxys.pdf";
		
		/**
		 * 投资人权益须知Equity Notes
		 */
		public static final String EQUITY_NOTES = HttpConst.HTTP_DEFAULT+"/files/business/doc/tzzqyxz.pdf";
		
		/**
		 * 快捷支付协议
		 */
		public static final String PAYMENT_AGREEMENT = HttpConst.HTTP_DEFAULT+"/files/business/doc/gjjjzxkjzfxy.pdf";
		
		/**
		 * 帮助中心
		 */
		public static final String HELP= HttpConst.HTTP_DEFAULT+"/files/business/help_android.html";
		
		/**
		 * 产品更多详情
		 */
		public static final String MORE_DETAIL= HttpConst.HTTP_DEFAULT+"/files/business/";
	}
	
	/***
	 * 数据库
	 */
	public class DBConst{
		public static final String  DB_NAME="manage.db";
		
		public static final String TABLE_NAME="time";
		
		public static final int TABLE_VERSION=1;

	}
	
	/**
	 * 接口常量
	 */
	public class HttpConst{
		/**
		 * 默认地址
		 */
		//public static final String HTTP_DEFAULT="http://106.39.107.101";
//		public static final String HTTP_DEFAULT="https://iapp.gfund.com";


		/**
		 * https测试环境
		 */
		public static final String HTTP_DEFAULT="https://106.39.107.101";
		
		/**
		 * 验证身份
		 */
		public static final String  CHECK_IDENTITY=HTTP_DEFAULT+"/service/checkidentity";
		
		/**
		 *获取银行列表
		 */
		public static final String GET_BANK_LIST=HTTP_DEFAULT+"/payment/banklist";
		
		/**
		 *身份认证
		 */
		public static final String AUTHENTICATE=HTTP_DEFAULT+"/account/authenticate";
		
		/**
		 * 获取RSA公钥
		 */
		public static final String GET_RSA_PUBLIC_KEY=HTTP_DEFAULT+"/service/publickey";
		
		/**
		 * 开户
		 */
		public static final String OPEN_ACCOUNT=HTTP_DEFAULT+"/account/open";
		
		/**
		 * 获取短信验证码
		 */
		public static final String GET_SMS_CODE=HTTP_DEFAULT+"/service/requestcode";
		
		/**
		 * 验证短信验证码
		 */
		public static final String CHECK_SMS_CODE=HTTP_DEFAULT+"/service/validatecode";
		
		/**
		 * 意见反馈
		 */
		public static final String SERVICE_OPINION = HTTP_DEFAULT+"/service/feedback";
		
		/**
		 * 活动中心
		 */
		public static final String SERVICE_MOVEMENT = HTTP_DEFAULT +"/service/activities";
		
		/**
		 * 服务消息未读
		 */
		public static final String  SERVICE_MESSAGES = HTTP_DEFAULT+"/service/messages";
		
		/**
		 * 服务消息已读
		 */
		public static final String SERVICE_READ = HTTP_DEFAULT+"/service/read";

		/**
		 * 产品列表
		 */
		public static final String GET_PRODUCT_LIST=HTTP_DEFAULT+"/product/list";
		
		/**
		 * 理财首页
		 */
		public static final String GET_FINANCE_MAIN=HTTP_DEFAULT+"/app/index";

		/**
		 * 热门推荐
		 */
		public static final String GET_HOT_PRODUCT=HTTP_DEFAULT+"/product/recommend";
		/**
		 * 产品列表
		 */
		public static final String GET_LIST_PRODUCT=HTTP_DEFAULT+"/product/list";
		/**
		 * 产品详情
		 */
		public static final String GET_DETAIL_PRODUCT=HTTP_DEFAULT+"/product/detail";
		/**
		 * 产品历史数据
		 */
		public static final String GET_HIDEDATA_PRODUCT=HTTP_DEFAULT+"/product/hisdata";
		/**
		 * 产品买入详情
		 */
		public static final String GET_PRODUCT_BUY_DETAIL=HTTP_DEFAULT+"/trade/prebuy";
		/**
		 * 交易费用
		 */
		public static final String GET_FEE=HTTP_DEFAULT+"/trade/fee";		
		/**
		 * 登录
		 */
		public static final String LOGIN=HTTP_DEFAULT+"/account/login";
		/**
		 * 用户卡列表
		 */
		public static final String GET_BANK_CARD_LIST=HTTP_DEFAULT+"/payment/usercards";
		/**
		 * 用户信息
		 */
		public static final String GET_USER_INFO=HTTP_DEFAULT+"/account/info";
		/**
		 * 校验密码
		 */
		public static final String POST_CHECK_PWD=HTTP_DEFAULT+"/account/checkpwd";
		
		/**
		 * 重置密码
		 */
		public static final String RESET_PWD=HTTP_DEFAULT+"/account/forgetpwd";
		
		/**
		 * 绑定邮箱
		 */
		public static final String BINDING_EMAIL=HTTP_DEFAULT+"/account/setemail";
		/**
		 * 添加银行卡
		 */
		public static final String ADD_CARD = HTTP_DEFAULT +"/payment/addcard";
		/**
		 * 取消绑卡并解约
		 */
		public static final String DELACRD = HTTP_DEFAULT +"/payment/delcard";
		/**
		 * 交易列表
		 */
		public static final String TRADE_LIST = HTTP_DEFAULT+"/trade/list";
		/**
		 * 资产列表
		 */
		public static final String ASSET_LIST= HTTP_DEFAULT+"/asset/list";
		/**
		 * 修改手机号
		 */
		public static final String UPDATE_MOBILE = HTTP_DEFAULT +"/account/changemobile";
		/**
		 *	购买
		 */
		public static final String POST_BUY = HTTP_DEFAULT +"/trade/buy";
		/**
		 * 设为默认支付卡
		 */
		public static final String SET_DEFAULT = HTTP_DEFAULT +"/payment/setdefault";
		
		/**
		 * 上传
		 */
		public static final String UPLOAD_FILE= HTTP_DEFAULT +"/res/upavatar";

		/**
		 * 历史收益明细
		 */
		public static final String ASSET_BONUS = HTTP_DEFAULT +"/asset/bonus";

		/**
		 *测评
		 */
		public static final String RISK_TEST=HTTP_DEFAULT +"/risk/assessment";
		
		/**
		 * 修改密码
		 */
		public static final String UPDATE_PWD=HTTP_DEFAULT +"/account/changepwd";
		
		/**
		 * 交易明细
		 */
		public static final String TRADE_DETAILS = HTTP_DEFAULT +"/trade/detail";

		/**
		 * 版本更新
		 */
		public static final  String VERSION_CHECK=HTTP_DEFAULT + "/app/latestver";
		public static final String VERSION_UPDATA=HTTP_DEFAULT + "/app/GetEnforcedUpdateInfo";
		
		/**
		 * 资产详情
		 */
		public static final String ASSET_DETAIL = HTTP_DEFAULT +"/asset/detail";
		
		/**
		 * 历史交易明细
		 */
		public static final String ASSET_TRADELIST = HTTP_DEFAULT +"/asset/tradelist";
		
		/**
		 * 赎回详情
		 */
		public static final String TRADE_PRESELL = HTTP_DEFAULT +"/trade/presell";
		/**
		 * 卖出
		 */
		public static final String SELL_OUT = HTTP_DEFAULT +"/trade/sell";
		/**
		 * 卖出
		 */
		public static final String FUNDCOVERT = HTTP_DEFAULT +"/trade/fundcovert";
		
		/**
		 * 获取启动图
		 */
		public static final String GET_LOADING_IAMGE=HTTP_DEFAULT +"/res/loadingimage";
		/**
		 *获取七天理财产品到期日明细
		 */
		public static final String EXPIREDAYLIST=HTTP_DEFAULT +"/asset/expiredaylist";
		/**
		 * 交易记录明细详情
		 */
		public static final String TRADE_CONFIRMDETAIL = HTTP_DEFAULT +"/trade/confirmdetail";
		/**
		 * 分享内容的接口
		 */
		public static final  String SHARE_DOC=HTTP_DEFAULT + "/service/sharedoc";
		/**
		 * 推送消息详情
		 */
		public static final  String SERVICE_MESSAGE=HTTP_DEFAULT + "/service/message";

	}
	
}
